import cv2 as cv
import os, shutil
import opencvUtils


if __name__ == "__main__": 
    path = "E:\\workspace\\0_model\\东莞-德普特手表模组\\"
    toFmt = ".png"
    resultList = opencvUtils.transformImageFileFormat(path, toFmt,allowList=[".bmp"], delOrgData=True)
       
    l = len(resultList)
    i = 0
    for p in resultList:
        print(l,">>>",i, "transform: ", p)
        i += 1
    exit(0)

